﻿@model ecommerce2011.OrdenesServiceProxy.ordersDTO

@{
    ViewBag.Title = "Delete";
}

<h2>Cancelar Orden</h2>

<h3>Está seguro de cancelar esta orden?</h3>
<fieldset>
    <legend>Orden</legend>

    <div class="display-label">Número de Orden</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ordid)
    </div>

    <div class="display-label">Fecha de Orden</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.orderdate)
    </div>

    <div class="display-label">Precio</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.price)
    </div>

    <div class="display-label">Estado</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.status)
    </div>

    <div class="display-label">Observaciones</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.commest)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Cancelar Orden" /> |
        @Html.ActionLink("Volver a Mis órdenes", "Index")
    </p>
}
